package com.funong.matrix.biz.power.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 角色授权
 *
 * @author lincl
 */
@ApiModel(value = "角色授权")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SysRoleAuthDTO {

    /**
     * 角色编码
     */
    @ApiModelProperty(value = "角色编码", position = 1)
    private String roleCode;

    /**
     * 菜单编码
     */
    @ApiModelProperty(value = "菜单编码", position = 2)
    private List<String> menuCodeList;

    /**
     * 权限编码
     */
    @ApiModelProperty(value = "权限编码", position = 3)
    private List<String> permissionCodeList;


}
